paths

package
v1.112.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package paths holds the HTTP paths of IAM's OAuth endpoints. GitLab routes /oauth/* to IAM, so every URL IAM emits (return redirects after login and consent, discovery metadata, CSRF cookie scope) uses the /oauth prefix.

Index

Constants

View Source
const (
	Authorize     = "/oauth/authorize"
	Token         = "/oauth/token"
	Revoke        = "/oauth/revoke"
	Register      = "/oauth/register"
	Keys          = "/oauth/keys"
	DiscoveryKeys = "/oauth/discovery/keys"
	Introspect    = "/oauth/introspect"
	JWKS          = "/.well-known/jwks.json"

	OpenIDConfiguration      = "/.well-known/openid-configuration"
	OAuthAuthorizationServer = "/.well-known/oauth-authorization-server"
)
View Source
const Userinfo = "/oauth/userinfo"

Userinfo is served by GitLab Rails' Doorkeeper, not IAM, and is expected to stay there. IAM only advertises it in discovery metadata.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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