Function StackAuth
Get Authentication Url
Generates an authentication URL for user sign-in via the auth provider.
Configuration
- State: (Optional) – A custom string that will be included in the redirect URL when the sign-in flow is completed. This can be used to track or validate the request.
- Access Type: – Specifies the type of sign-in request. Options:
online
– Grants access only while the user is signed in.offline
– Provides long-lived access, often used for refresh tokens.
- Auth Provider: (Required) – Specifies the registered oauth provider to use.
Outputs
Returns the generated authentication URL.