oidc

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteOAuthFlow

func CompleteOAuthFlow(t *testing.T, authorizationURL string) *http.Response

CompleteOAuthFlow follows the OAuth authorization flow through the mock OIDC server, intercepts the frontend callback redirect, extracts the code and state, and calls the backend API directly. Returns the raw backend response.

func FollowOAuthFlow

func FollowOAuthFlow(t *testing.T, authorizationURL string) *sdk.LoginResponse

FollowOAuthFlow completes the OAuth flow and returns the parsed token response

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL