File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// End-to-End Integration Flow Tests
22// Nyaa~ Testing the complete RADIUS auth -> OAuth -> JWT flow like a purr-fect choreographed dance! 😺💕
33
4- import { POST as authorizePost } from '@/app/radius_login/ api/oauth/authorize/route' ;
5- import { POST as tokenPost } from '@/app/radius_login/ api/oauth/token/route' ;
6- import { GET as userinfoGet } from '@/app/radius_login/ api/oauth/userinfo/route' ;
4+ import { POST as authorizePost } from '@/app/api/oauth/authorize/route' ;
5+ import { POST as tokenPost } from '@/app/api/oauth/token/route' ;
6+ import { GET as userinfoGet } from '@/app/api/oauth/userinfo/route' ;
77import { radiusAuthenticate } from '@/lib/radius' ;
88import { getStorage , cleanupExpiredCodes } from '@/lib/storage' ;
99import { verifyToken } from '@/lib/jwt' ;
Original file line number Diff line number Diff line change 11// OAuth2 RFC 6749 Authorization Code Flow Compliance Tests
22// Nyaa~ Testing that our OAuth2 implementation is purr-fectly compliant with RFC 6749! 😺💕
33
4- import { POST as authorizePost , GET as authorizeGet } from '@/app/radius_login/ api/oauth/authorize/route' ;
5- import { POST as tokenPost } from '@/app/radius_login/ api/oauth/token/route' ;
4+ import { POST as authorizePost , GET as authorizeGet } from '@/app/api/oauth/authorize/route' ;
5+ import { POST as tokenPost } from '@/app/api/oauth/token/route' ;
66import { radiusAuthenticate } from '@/lib/radius' ;
77import { getStorage , cleanupExpiredCodes } from '@/lib/storage' ;
88import { _invalidateConfigCache } from '@/lib/config' ;
Original file line number Diff line number Diff line change 11// Security Compliance Tests
22// Nyaa~ Testing security protections like a vigilant maid guarding the master's precious data! 😺🔒💕
33
4- import { POST as authorizePost } from '@/app/radius_login/ api/oauth/authorize/route' ;
5- import { POST as tokenPost } from '@/app/radius_login/ api/oauth/token/route' ;
6- import { GET as userinfoGet } from '@/app/radius_login/ api/oauth/userinfo/route' ;
4+ import { POST as authorizePost } from '@/app/api/oauth/authorize/route' ;
5+ import { POST as tokenPost } from '@/app/api/oauth/token/route' ;
6+ import { GET as userinfoGet } from '@/app/api/oauth/userinfo/route' ;
77import { radiusAuthenticate } from '@/lib/radius' ;
88import { getStorage , cleanupExpiredCodes } from '@/lib/storage' ;
99import { signToken , verifyToken } from '@/lib/jwt' ;
You can’t perform that action at this time.
0 commit comments