Ricardoneud.com
Website
Website
Discord Community
Community Forum
  1. NeudAuth
  • Home
  • Frequently Asked Questions
  • Api
    • User Login
    • Changelog
      • v1
      • v2
      • v3
      • v4
    • v1
      • Clients
        • Licenses
          • Get Licenses
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get DNS Information
    • v2
      • Clients
        • Licenses
          • Get Licenses
      • Games
        • Minecraft
          • Get Minecraft Server
      • Reseller
        • Licenses
          • Check License
          • Generate License
          • Update License
          • Delete License
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get DNS Information
    • v3
      • Games
        • Minecraft
          • Get Minecraft Server
        • Fivem
          • Get Fivem Server
      • Reseller
        • Licenses
          • Check License
          • Generate License
          • Update License
          • Delete License
      • Tools
        • Get Subdomains
        • Mail DNS Checker
        • Get Domain Information
        • Get DNS Information
      • User Login
    • v4
      • Games
        • Minecraft
          • Get Minecraft Server
      • Tools
        • Get DNS Information
        • Get Domain Information
        • Mail DNS Checker
        • Validate Email Host
        • Get Subdomains
        • Geo IP
      • User Login
        • Create Secret
        • Revoke Secret
    • Oauth2
      • Access Token
        POST
      • Read Profile
        GET
  • Products
    • Next.js Docs Template
      • Installation
        • VPS Installation
        • Pterodactyl Installation
    • Game Panels
      • Pterodactyl
        • Eggs
          • Installation
            • Next.js Egg
        • Extensions
          • Installation
            • Pterodactyl Livechat
      • Pelican
        • Eggs
          • Installation
            • Next.js Egg
    • Donate Me
      • Installation
        • VPS Installation
        • Pterodactyl Installation
    • LicenseForge
      • Installation
        • VPS Installation
        • Webhost Installation
    • Billing Portals
      • Paymenter
        • Extensions
          • Discord Linked Roles
            • Installation
            • Setting Up
          • CyberPanel
            • Installation
            • Setting Up
          • NeudAuth
            • Installation
            • Setting Up
      • WHMCS
        • Extensions
          • Installation
            • Ticket Spam Checker
            • Chatwoot Livechat
  • ProbeCore
    • Introduction
    • Self Hosting
      • Installation
        • VPS Installation
        • Pterodactyl Installation
  1. NeudAuth

Setting Up

NeudAuth OAuth2 Integration for Paymenter#

This guide will walk you through the process of installing the NeudAuth extension for Paymenter.

📦 Configuration#

1. Create a NeudAuth OAuth Client#

1.
Navigate to your dashboard: https://ricardoneud.com/dashboard/oauth2
2.
Click Generate OAuth Client.
3.
Fill out the fields:
Name: Enter a recognizable name for your client.
Logo (Optional): Upload a logo if desired.
Terms of Service URL (Optional): e.g., https://example.com/terms
Privacy Policy URL (Optional): e.g., https://example.com/privacy
Scopes: Select Read Profile (only this scope is required).
Redirect URIs: Add at least one, e.g., https://yourpaymenterurl.tld/oauth2/ricardoneud-com/callback
4.
Click Generate.
5.
Copy the Client ID, Client Secret, and ensure the Redirect URI matches exactly the one configured in Paymenter.
âš  Important: Store the Client Secret securely; it will be used in Paymenter configuration.

2. Configure the Extension in Paymenter#

1.
Navigate to Extension Settings in your Paymenter admin panel.
2.
Enable the NeudAuth extension.
3.
Input the following:
Client Name (for internal management)
Client ID
Client Secret (securely hidden)
Redirect URI
4.
Save the configuration.

3. Add NeudAuth Login Button#

To allow users to log in via Ricardoneud.com:
1.
Open your theme login template:
2.
Locate the existing provider buttons block:
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 w-full">
    @foreach (['github', 'google', 'discord'] as $provider)
        @if (config('settings.oauth_' . $provider))
        <a href="{{ route('oauth.redirect', $provider) }}" class="flex items-center justify-center w-full py-2.5 border border-background bg-primary dark:bg-background rounded-lg text-white hover:bg-secondary hover:border-secondary transition-all space-x-2">
            <img src="/assets/images/{{ $provider }}-light.svg" alt="{{ ucfirst($provider) }}" class="size-5 block dark:hidden">
            <img src="/assets/images/{{ $provider }}-dark.svg" alt="{{ ucfirst($provider) }}" class="size-5 hidden dark:block">
            <span class="text-sm font-medium">{{ ucfirst($provider) }}</span>
        </a>
        @endif
    @endforeach
</div>
3.
Add the NeudAuth button directly below this block:
@if(!config('settings.oauth_neudauth', false))
<a href="/oauth2/ricardoneud-com/authorize" class="flex items-center justify-center w-full py-3 mt-4 border border-background bg-primary dark:bg-background rounded-lg text-white hover:bg-primary hover:border-secondary transition-all space-x-2">
    <img src="https://cdn.ricardoneud.com/logo.png" alt="Ricardoneud.com" class="size-5">
    <span class="text-sm font-medium">Sign in with Ricardoneud.com</span>
</a>
@endif
4.
Ensure the registration link remains below the new button:
@if(!config('settings.registration_disabled', false))
<div class="mt-10 text-sm text-center text-neutral-400">
    {{ __("auth.dont_have_account") }}
    <a class="font-semibold text-primary transition-colors hover:text-secondary" href="{{ route('register') }}" wire:navigate>
        {{ __('auth.sign_up') }}
    </a>
</div>
@endif

4. User Login Flow#

Once configured, users can login with their account on Paymenter:
1.
Go to the login.
2.
Click Sign in with Ricardoneud.com.
3.
Complete the OAuth flow, granting the requested permissions.
4.
Upon success, the user’s account will be loggedin, and any configured access rights will be automatically applied.

✅ Completion#

After these steps:
Users can log in via NeudAuth directly from your Paymenter login page.
Only the Read Profile scope is required for the login function to work.
Access rights can be applied automatically after verification.
This setup ensures secure account logging in while maintaining a seamless user experience across your platform.
Modified at 2025-08-28 16:19:31
Previous
Installation
Next
Ticket Spam Checker
Built with