mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 17:32:25 -05:00 
			
		
		
		
	[feature] add 'state' oauth2 param to /oauth/authorize (#730)
This commit is contained in:
		
					parent
					
						
							
								7ca5bac7c6
							
						
					
				
			
			
				commit
				
					
						8106b69856
					
				
			
		
					 6 changed files with 35 additions and 20 deletions
				
			
		|  | @ -55,13 +55,14 @@ const ( | |||
| 	callbackStateParam = "state" | ||||
| 	callbackCodeParam  = "code" | ||||
| 
 | ||||
| 	sessionUserID       = "userid" | ||||
| 	sessionClientID     = "client_id" | ||||
| 	sessionRedirectURI  = "redirect_uri" | ||||
| 	sessionForceLogin   = "force_login" | ||||
| 	sessionResponseType = "response_type" | ||||
| 	sessionScope        = "scope" | ||||
| 	sessionState        = "state" | ||||
| 	sessionUserID        = "userid" | ||||
| 	sessionClientID      = "client_id" | ||||
| 	sessionRedirectURI   = "redirect_uri" | ||||
| 	sessionForceLogin    = "force_login" | ||||
| 	sessionResponseType  = "response_type" | ||||
| 	sessionScope         = "scope" | ||||
| 	sessionInternalState = "internal_state" | ||||
| 	sessionClientState   = "client_state" | ||||
| ) | ||||
| 
 | ||||
| // Module implements the ClientAPIModule interface for | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue