🔐 Google Code Exchange Demo

Instructions:

1. Click the "Sign in with Google" button below

2. Authorize the application

3. The authorization code will be displayed below

4. Click "Exchange Code for Tokens" to get your OAuth tokens

5. Use the tokens to test the protected API endpoints

6. For Postman testing: POST /api/token/exchange/google

Body: code={auth_code}&client_id=mobile-app-client&grant_type=external_auth

Authorization Result:

Waiting for authorization...
Ready to authenticate

API Exchange Result:

Not yet retrieved
Not yet retrieved
Not yet retrieved
Not yet retrieved
Not yet retrieved

🔬 API Testing (Auth.API):

Test Protected Endpoints:

Try calling the protected API endpoints to see the difference between authenticated and unauthenticated requests.

Click a button to test the API

🌐 Public API Testing:

Test Public.API Endpoints:

Try calling the Public.API protected endpoints using the access token.

Click a button to test the Public API

📧 Email Service Testing:

Test Email Service:

Test the IEmailService by sending a test email to r.kolar@globdata.cz

Click the button to send a test email